using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using NCS.Library;
using NCS.Library.Utilities;

namespace NCS.Module.Multimedia.Library
{
    public class Definies
    {
        private const string CONFIG_FILENAME = "/Modules/MultiMedia/Multimedia.config";
        public static string UploadPath
        {
            get { return AppEnv.GetAppSetting("UploadPath", CONFIG_FILENAME); }
        }
        public const string CMS_MV_Gallery = "CMS.MV_Gallery";
        public const string CMS_MV_Bonus = "CMS.MV_Bonus";
        public const string CMS_SP_GalleryAndClip = "CMS.SP_GalleryAndClip";
        public static int ThumbWidth
        {
            get { return ConvertUtility.ToInt32(AppEnv.GetAppSetting("ThumbWidth", CONFIG_FILENAME)); }
        }

        public static int ThumbHeight
        {
            get { return ConvertUtility.ToInt32(AppEnv.GetAppSetting("ThumbHeight", CONFIG_FILENAME)); }
        }
        public enum Comment_Type
        { 
            CMS = 1,
            Gallery = 2,
            Bonus= 3
        }
    }
}
